package com.tools.cleanmaster.ui.card.viewholder;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.tools.ad.EntranceType;
import com.tools.cleanmaster.CleanApplication;
import com.tools.cleanmaster.R;
import com.tools.cleanmaster.ui.card.ACardItem;

@SuppressWarnings("static-access")
public class RateCardViewHolder extends ACardViewHolder {

    public TextView ratingContentMem;
    public Button rateButton;

    @Override
    public View initView(Activity activity, ACardItem item, int pos, EntranceType pageType) {
        LayoutInflater layoutInflater = LayoutInflater.from(CleanApplication.getInstance());
        mItemView = layoutInflater.inflate(R.layout.result_card_list_view_item_rate, null);
        ratingContentMem = mItemView.findViewById(R.id.rate_content_mem);
        rateButton = mItemView.findViewById(R.id.rate_button);
        mItemView = mItemView.findViewById(R.id.rate_container);
        return mItemView;
    }

}
